﻿namespace ClassLibrary.DataLayer.DataObjects
{
    using ClassLibrary.BusinessLayer.BusinessObjects;
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Data.Common;

    public interface IProjectsDAO
    {
        bool DeleteProjects(Projects clsProjects);
        IList<Projects> GetProjects(Projects clsProjects);
        IList<Projects> GetProjects(string agent);
        IList<Projects> GetsProjects();
        DataTable GetsProjects(string SPName, DbParameter[] param);
        bool InsertProjects(Projects clsProjects);
        int InsertProjectsReturnIdentity(Projects clsProjects);
        string InsertProjectsReturnOutput(Projects clsProjects);
        IList<Projects> ListProjects(Projects clsProjects);
        IList<Projects> ListProjects(string agent);
        bool UpdateProjects(Projects clsProjects);
        int UpdateProjects(string SPName, DbParameter[] param);
    }
}

